<html>
<head>
    <meta charset="UTF-8">
    <style>
        table
        {
            border-collapse:collapse;
        }
        th, td
        {
            border: 1px solid #000000;
            height: 40px;
            padding: 15px;
        }
    </style>
</head>
<body>
<div id="banner"></div>
<center>
    <h3>上传简历</h3>
<form>
<table>
    <tr>
        <td>姓名</td>
        <td style="padding: 0; width: 400px"><input style="height: 50px; width: 100%" /></td>
    </tr>
    <tr>
        <td>简历内容</td>
        <td style="padding: 0"><textarea style="width: 100%;height: 300px;"></textarea></td>
    </tr>
    <tr>
        <td colspan="2" style="text-align: center;">
            <button id="submitBtn">提交</button>
        </td>
    </tr>
</table>
</form>
</center>
<script src="js/libs/jquery.js"></script>
<script src="js/common.js"></script>
<script>
    $('#submitBtn').click((e) => {
        e.preventDefault();
        $.get('/api/uploadCV?content=sdfsdfsdfdf', (resp) => {
            if (resp.status === 0) {
                alert('上传成功');
                // window.location.href = '/';
            } else {
                alert(resp.message);
            }
        });
    });

</script>
</body>
</html>